# Marketing Platform .htaccess

# Enable rewrite engine
RewriteEngine On

# Redirect to HTTPS (uncomment in production)
# RewriteCond %{HTTPS} off
# RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Prevent directory listing
Options -Indexes

# Protect config files
<FilesMatch "\.(sql|ini|conf|log)$">
    Order allow,deny
    Deny from all
</FilesMatch>

# Set default charset
AddDefaultCharset UTF-8

# PHP settings (if allowed)
php_flag display_errors Off
php_flag log_errors On

